using Finance.Api.Read.Dtos;
using Finance.Domain;
using Finance.ErrorCode;
using MediatR;

namespace Finance.Api.Read.Applications.Commands.台账管理
{
    public class InventoryFlowQueryCommand : IRequest<ApiResult<ApiPaging<List<InventoryFlowDto>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int index { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int size { get; set; }

        /// <summary>
        /// 商品编号
        /// </summary>
        public string? ProductNo { get; set; }

        /// <summary>
        /// 出入库单号
        /// </summary>
        public string? OutInNo { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? LocationName { get; set; }

        /// <summary>
        /// 出入库类型 1出库 2入库
        /// </summary>
        public int? OutInType { get; set; }

        /// <summary>
        /// 出入库日期开始
        /// </summary>
        public DateTime? OutInTimeStart { get; set; }

        /// <summary>
        /// 出入库日期结束
        /// </summary>
        public DateTime? OutInTimeEnd { get; set; }
    }
}








